﻿@model AfrikDotnetWebSite.Models.Project

@{
    ViewBag.Title = "Project Delete";
}

<h2 class="box">Project Delete</h2>
<p class="error box">@ViewBag.ErrorMessage</p>
<h3 class="box">Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Project</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Image)
    </div>
    <div class="display-field">
        <img src="~/static/img/projects/@Html.DisplayFor(model => model.Image)" style="height:80px;width:80px" />
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Title)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Title)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Link)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Link)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Description)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Description)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("« Back to Projects", "projects")
    </p>
}
